<div style="height:400px;width:550px;margin:50px auto;margin-left:auto;border:solid 1px;background: rgb(246, 246, 253);">
    <div style="margin-left: 35px;">
        <h1>首页</h1>
        <form action="#"  role="form" style="margin-top: 90px;margin-left: 60px;">
            <h1>欢迎进入首页！</h1>
            <div style="margin-top: 145px;">
                <input type="button" onclick="jumpLogin();" value="登 陆">
                <input type="button" onclick="loginOut();" value="注 销">
            </div>
        </form>
    </div>
</div>
<script>
	function jumpLogin () {
		location.href = 'login';
	}
	function loginOut () {
		location.href = 'logout';
	}
</script>